package com.itheima.springbootwebtlias.service;

import com.itheima.springbootwebtlias.pojo.Emp;
import com.itheima.springbootwebtlias.pojo.EmpQueryParam;
import com.itheima.springbootwebtlias.pojo.PageResult;

import java.util.List;

public interface EmpService {
    PageResult page(EmpQueryParam queryParam);

    void addEmp(Emp emp);


    List<Emp> selectEmp();

    void removeEmp(List<Integer> ids);

    Emp queryByIdEmp(Integer id);

    void updateEmp(Emp emp);

    Emp checkLogin(Emp emp);
}
